package net.zjitc.mystring;

/**
 * Created by Administrator on 2017/4/13.
 */
public interface IString {
    //求串长度
    int length();
    //串连接
    String concat(String str);
    //串比较
    int conpereTo(String str);
    //求子串
    String substring(int start,int end);
    //串定位
    int  indexOf(String str,int fromIndex);
    //串插入
    StringBuffer inser(int offset, String str);
    //串删除
    StringBuffer delete(int start, int end);
}
